package com.onesports.intelligent.k12.polarlight.domain.vo.sys;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.Instant;

/**
 * @author chenRL
 **/
@Data
public class InfoManagementVO {


    @ApiModelProperty(value = "资讯id")
    private String id;

    @ApiModelProperty(value = "分类id")
    private String infoClassifyId;

    @ApiModelProperty(value = "分类名")
    private String infoClassifyName;

    @ApiModelProperty(value = "咨讯标题")
    private String infoTitle;

    @ApiModelProperty(value = "图片")
    private String infoImg;

    @ApiModelProperty(value = "咨讯内容")
    private String infoContent;

    @ApiModelProperty(value = "状态")
    private Boolean status;

    @ApiModelProperty(value = "创建人")
    private String createdBy;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @ApiModelProperty(value = "创建时间")
    private Instant createdDate;

    /**
     * 修改时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @ApiModelProperty(value = "修改时间")
    private Instant lastModifiedDate;

    private String organizationId;

}
